package com.kgc.easyshopping.entity;

import org.apache.solr.client.solrj.beans.Field;

import java.util.Date;

public class News {
    @Field("id")
    private String nid;
    @Field("titles_ik")
    private String title;
    @Field("content_ik")
    private String content;
    @Field("createtime_dt")
    private Date createtime;

    public String getNid() {
        return nid;
    }

    public void setNid(String nid) {
        this.nid = nid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}